package com.fcl.blog.exception;

import com.fcl.blog.comment.Result;

/**
 * @Author 付
 * @Date 2023/10/19 20:59
 * @Version 1.0
 * @description
 * @since 1.0
 */
public class ServiceException extends Exception{
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    private String code;
    public ServiceException(String message) {
        super(message);
    }
    public ServiceException(String code,String message) {
        super(message);
        this.code = code;

    }
}
